#define _CRT_SECURE_NO_WARNINGS 1
#include"bstree.h"
//using namespace why;
int main()
{
	BSTree<int> t;
	int a[] = { 8, 3, 1 };
	for (auto e : a)
	{
		t.Insert(e);
	}

	t.InOrder();
	for (auto e : a)
	{
		t.Erase(e);
		t.InOrder();
	}
	

	return 0;
}